package com.spring.aop1.service;

import org.springframework.stereotype.Service;

/**
 * @Author: lxh
 * @name: UserService
 * Date: 2024/6/22  20:52
 */
//目标类
@Service
public class UserService {

    public void login() {
        System.out.println("登录中...");
        throw new RuntimeException("运行时异常...");
    }

}
